test2(x_0, y) -> True
test2(x_0, y) -> False
append2(l1_2, l2_1) -> match_03(l1_2, l2_1, l1_2)
match_03(l1_2, l2_1, Nil) -> l2_1
match_03(l1_2, l2_1, Cons2(x, l)) -> Cons2(x, append2(l, l2_1))
part2(a_4, l_3) -> match_13(a_4, l_3, l_3)
match_13(a_4, l_3, Nil) -> Pair2(Nil, Nil)
match_13(a_4, l_3, Cons2(x, l')) -> match_25(x, l', a_4, l_3, part2(a_4, l'))
match_25(x, l', a_4, l_3, Pair2(l1, l2)) -> match_37(l1, l2, x, l', a_4, l_3, test2(a_4, x))
match_37(l1, l2, x, l', a_4, l_3, False) -> Pair2(Cons2(x, l1), l2)
match_37(l1, l2, x, l', a_4, l_3, True) -> Pair2(l1, Cons2(x, l2))
quick1(l_5) -> match_42(l_5, l_5)
match_42(l_5, Nil) -> Nil
match_42(l_5, Cons2(a, l')) -> match_54(a, l', l_5, part2(a, l'))
match_54(a, l', l_5, Pair2(l1, l2)) -> append2(quick1(l1), Cons2(a, quick1(l2)))
↳ QTRS
↳ DependencyPairsProof
test2(x_0, y) -> True
test2(x_0, y) -> False
append2(l1_2, l2_1) -> match_03(l1_2, l2_1, l1_2)
match_03(l1_2, l2_1, Nil) -> l2_1
match_03(l1_2, l2_1, Cons2(x, l)) -> Cons2(x, append2(l, l2_1))
part2(a_4, l_3) -> match_13(a_4, l_3, l_3)
match_13(a_4, l_3, Nil) -> Pair2(Nil, Nil)
match_13(a_4, l_3, Cons2(x, l')) -> match_25(x, l', a_4, l_3, part2(a_4, l'))
match_25(x, l', a_4, l_3, Pair2(l1, l2)) -> match_37(l1, l2, x, l', a_4, l_3, test2(a_4, x))
match_37(l1, l2, x, l', a_4, l_3, False) -> Pair2(Cons2(x, l1), l2)
match_37(l1, l2, x, l', a_4, l_3, True) -> Pair2(l1, Cons2(x, l2))
quick1(l_5) -> match_42(l_5, l_5)
match_42(l_5, Nil) -> Nil
match_42(l_5, Cons2(a, l')) -> match_54(a, l', l_5, part2(a, l'))
match_54(a, l', l_5, Pair2(l1, l2)) -> append2(quick1(l1), Cons2(a, quick1(l2)))
MATCH_25(x, l', a_4, l_3, Pair2(l1, l2)) -> TEST2(a_4, x)
MATCH_42(l_5, Cons2(a, l')) -> PART2(a, l')
APPEND2(l1_2, l2_1) -> MATCH_03(l1_2, l2_1, l1_2)
MATCH_13(a_4, l_3, Cons2(x, l')) -> PART2(a_4, l')
MATCH_54(a, l', l_5, Pair2(l1, l2)) -> APPEND2(quick1(l1), Cons2(a, quick1(l2)))
MATCH_54(a, l', l_5, Pair2(l1, l2)) -> QUICK1(l1)
QUICK1(l_5) -> MATCH_42(l_5, l_5)
MATCH_42(l_5, Cons2(a, l')) -> MATCH_54(a, l', l_5, part2(a, l'))
MATCH_03(l1_2, l2_1, Cons2(x, l)) -> APPEND2(l, l2_1)
MATCH_25(x, l', a_4, l_3, Pair2(l1, l2)) -> MATCH_37(l1, l2, x, l', a_4, l_3, test2(a_4, x))
MATCH_13(a_4, l_3, Cons2(x, l')) -> MATCH_25(x, l', a_4, l_3, part2(a_4, l'))
PART2(a_4, l_3) -> MATCH_13(a_4, l_3, l_3)
MATCH_54(a, l', l_5, Pair2(l1, l2)) -> QUICK1(l2)
test2(x_0, y) -> True
test2(x_0, y) -> False
append2(l1_2, l2_1) -> match_03(l1_2, l2_1, l1_2)
match_03(l1_2, l2_1, Nil) -> l2_1
match_03(l1_2, l2_1, Cons2(x, l)) -> Cons2(x, append2(l, l2_1))
part2(a_4, l_3) -> match_13(a_4, l_3, l_3)
match_13(a_4, l_3, Nil) -> Pair2(Nil, Nil)
match_13(a_4, l_3, Cons2(x, l')) -> match_25(x, l', a_4, l_3, part2(a_4, l'))
match_25(x, l', a_4, l_3, Pair2(l1, l2)) -> match_37(l1, l2, x, l', a_4, l_3, test2(a_4, x))
match_37(l1, l2, x, l', a_4, l_3, False) -> Pair2(Cons2(x, l1), l2)
match_37(l1, l2, x, l', a_4, l_3, True) -> Pair2(l1, Cons2(x, l2))
quick1(l_5) -> match_42(l_5, l_5)
match_42(l_5, Nil) -> Nil
match_42(l_5, Cons2(a, l')) -> match_54(a, l', l_5, part2(a, l'))
match_54(a, l', l_5, Pair2(l1, l2)) -> append2(quick1(l1), Cons2(a, quick1(l2)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
MATCH_25(x, l', a_4, l_3, Pair2(l1, l2)) -> TEST2(a_4, x)
MATCH_42(l_5, Cons2(a, l')) -> PART2(a, l')
APPEND2(l1_2, l2_1) -> MATCH_03(l1_2, l2_1, l1_2)
MATCH_13(a_4, l_3, Cons2(x, l')) -> PART2(a_4, l')
MATCH_54(a, l', l_5, Pair2(l1, l2)) -> APPEND2(quick1(l1), Cons2(a, quick1(l2)))
MATCH_54(a, l', l_5, Pair2(l1, l2)) -> QUICK1(l1)
QUICK1(l_5) -> MATCH_42(l_5, l_5)
MATCH_42(l_5, Cons2(a, l')) -> MATCH_54(a, l', l_5, part2(a, l'))
MATCH_03(l1_2, l2_1, Cons2(x, l)) -> APPEND2(l, l2_1)
MATCH_25(x, l', a_4, l_3, Pair2(l1, l2)) -> MATCH_37(l1, l2, x, l', a_4, l_3, test2(a_4, x))
MATCH_13(a_4, l_3, Cons2(x, l')) -> MATCH_25(x, l', a_4, l_3, part2(a_4, l'))
PART2(a_4, l_3) -> MATCH_13(a_4, l_3, l_3)
MATCH_54(a, l', l_5, Pair2(l1, l2)) -> QUICK1(l2)
test2(x_0, y) -> True
test2(x_0, y) -> False
append2(l1_2, l2_1) -> match_03(l1_2, l2_1, l1_2)
match_03(l1_2, l2_1, Nil) -> l2_1
match_03(l1_2, l2_1, Cons2(x, l)) -> Cons2(x, append2(l, l2_1))
part2(a_4, l_3) -> match_13(a_4, l_3, l_3)
match_13(a_4, l_3, Nil) -> Pair2(Nil, Nil)
match_13(a_4, l_3, Cons2(x, l')) -> match_25(x, l', a_4, l_3, part2(a_4, l'))
match_25(x, l', a_4, l_3, Pair2(l1, l2)) -> match_37(l1, l2, x, l', a_4, l_3, test2(a_4, x))
match_37(l1, l2, x, l', a_4, l_3, False) -> Pair2(Cons2(x, l1), l2)
match_37(l1, l2, x, l', a_4, l_3, True) -> Pair2(l1, Cons2(x, l2))
quick1(l_5) -> match_42(l_5, l_5)
match_42(l_5, Nil) -> Nil
match_42(l_5, Cons2(a, l')) -> match_54(a, l', l_5, part2(a, l'))
match_54(a, l', l_5, Pair2(l1, l2)) -> append2(quick1(l1), Cons2(a, quick1(l2)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
PART2(a_4, l_3) -> MATCH_13(a_4, l_3, l_3)
MATCH_13(a_4, l_3, Cons2(x, l')) -> PART2(a_4, l')
test2(x_0, y) -> True
test2(x_0, y) -> False
append2(l1_2, l2_1) -> match_03(l1_2, l2_1, l1_2)
match_03(l1_2, l2_1, Nil) -> l2_1
match_03(l1_2, l2_1, Cons2(x, l)) -> Cons2(x, append2(l, l2_1))
part2(a_4, l_3) -> match_13(a_4, l_3, l_3)
match_13(a_4, l_3, Nil) -> Pair2(Nil, Nil)
match_13(a_4, l_3, Cons2(x, l')) -> match_25(x, l', a_4, l_3, part2(a_4, l'))
match_25(x, l', a_4, l_3, Pair2(l1, l2)) -> match_37(l1, l2, x, l', a_4, l_3, test2(a_4, x))
match_37(l1, l2, x, l', a_4, l_3, False) -> Pair2(Cons2(x, l1), l2)
match_37(l1, l2, x, l', a_4, l_3, True) -> Pair2(l1, Cons2(x, l2))
quick1(l_5) -> match_42(l_5, l_5)
match_42(l_5, Nil) -> Nil
match_42(l_5, Cons2(a, l')) -> match_54(a, l', l_5, part2(a, l'))
match_54(a, l', l_5, Pair2(l1, l2)) -> append2(quick1(l1), Cons2(a, quick1(l2)))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MATCH_13(a_4, l_3, Cons2(x, l')) -> PART2(a_4, l')
Used ordering: Polynomial interpretation [21]:
PART2(a_4, l_3) -> MATCH_13(a_4, l_3, l_3)
POL(Cons2(x1, x2)) = 1 + x2
POL(MATCH_13(x1, x2, x3)) = x3
POL(PART2(x1, x2)) = x2
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDP
PART2(a_4, l_3) -> MATCH_13(a_4, l_3, l_3)
test2(x_0, y) -> True
test2(x_0, y) -> False
append2(l1_2, l2_1) -> match_03(l1_2, l2_1, l1_2)
match_03(l1_2, l2_1, Nil) -> l2_1
match_03(l1_2, l2_1, Cons2(x, l)) -> Cons2(x, append2(l, l2_1))
part2(a_4, l_3) -> match_13(a_4, l_3, l_3)
match_13(a_4, l_3, Nil) -> Pair2(Nil, Nil)
match_13(a_4, l_3, Cons2(x, l')) -> match_25(x, l', a_4, l_3, part2(a_4, l'))
match_25(x, l', a_4, l_3, Pair2(l1, l2)) -> match_37(l1, l2, x, l', a_4, l_3, test2(a_4, x))
match_37(l1, l2, x, l', a_4, l_3, False) -> Pair2(Cons2(x, l1), l2)
match_37(l1, l2, x, l', a_4, l_3, True) -> Pair2(l1, Cons2(x, l2))
quick1(l_5) -> match_42(l_5, l_5)
match_42(l_5, Nil) -> Nil
match_42(l_5, Cons2(a, l')) -> match_54(a, l', l_5, part2(a, l'))
match_54(a, l', l_5, Pair2(l1, l2)) -> append2(quick1(l1), Cons2(a, quick1(l2)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
MATCH_03(l1_2, l2_1, Cons2(x, l)) -> APPEND2(l, l2_1)
APPEND2(l1_2, l2_1) -> MATCH_03(l1_2, l2_1, l1_2)
test2(x_0, y) -> True
test2(x_0, y) -> False
append2(l1_2, l2_1) -> match_03(l1_2, l2_1, l1_2)
match_03(l1_2, l2_1, Nil) -> l2_1
match_03(l1_2, l2_1, Cons2(x, l)) -> Cons2(x, append2(l, l2_1))
part2(a_4, l_3) -> match_13(a_4, l_3, l_3)
match_13(a_4, l_3, Nil) -> Pair2(Nil, Nil)
match_13(a_4, l_3, Cons2(x, l')) -> match_25(x, l', a_4, l_3, part2(a_4, l'))
match_25(x, l', a_4, l_3, Pair2(l1, l2)) -> match_37(l1, l2, x, l', a_4, l_3, test2(a_4, x))
match_37(l1, l2, x, l', a_4, l_3, False) -> Pair2(Cons2(x, l1), l2)
match_37(l1, l2, x, l', a_4, l_3, True) -> Pair2(l1, Cons2(x, l2))
quick1(l_5) -> match_42(l_5, l_5)
match_42(l_5, Nil) -> Nil
match_42(l_5, Cons2(a, l')) -> match_54(a, l', l_5, part2(a, l'))
match_54(a, l', l_5, Pair2(l1, l2)) -> append2(quick1(l1), Cons2(a, quick1(l2)))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MATCH_03(l1_2, l2_1, Cons2(x, l)) -> APPEND2(l, l2_1)
Used ordering: Polynomial interpretation [21]:
APPEND2(l1_2, l2_1) -> MATCH_03(l1_2, l2_1, l1_2)
POL(APPEND2(x1, x2)) = x1
POL(Cons2(x1, x2)) = 1 + x2
POL(MATCH_03(x1, x2, x3)) = x3
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
APPEND2(l1_2, l2_1) -> MATCH_03(l1_2, l2_1, l1_2)
test2(x_0, y) -> True
test2(x_0, y) -> False
append2(l1_2, l2_1) -> match_03(l1_2, l2_1, l1_2)
match_03(l1_2, l2_1, Nil) -> l2_1
match_03(l1_2, l2_1, Cons2(x, l)) -> Cons2(x, append2(l, l2_1))
part2(a_4, l_3) -> match_13(a_4, l_3, l_3)
match_13(a_4, l_3, Nil) -> Pair2(Nil, Nil)
match_13(a_4, l_3, Cons2(x, l')) -> match_25(x, l', a_4, l_3, part2(a_4, l'))
match_25(x, l', a_4, l_3, Pair2(l1, l2)) -> match_37(l1, l2, x, l', a_4, l_3, test2(a_4, x))
match_37(l1, l2, x, l', a_4, l_3, False) -> Pair2(Cons2(x, l1), l2)
match_37(l1, l2, x, l', a_4, l_3, True) -> Pair2(l1, Cons2(x, l2))
quick1(l_5) -> match_42(l_5, l_5)
match_42(l_5, Nil) -> Nil
match_42(l_5, Cons2(a, l')) -> match_54(a, l', l_5, part2(a, l'))
match_54(a, l', l_5, Pair2(l1, l2)) -> append2(quick1(l1), Cons2(a, quick1(l2)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
MATCH_42(l_5, Cons2(a, l')) -> MATCH_54(a, l', l_5, part2(a, l'))
QUICK1(l_5) -> MATCH_42(l_5, l_5)
MATCH_54(a, l', l_5, Pair2(l1, l2)) -> QUICK1(l2)
MATCH_54(a, l', l_5, Pair2(l1, l2)) -> QUICK1(l1)
test2(x_0, y) -> True
test2(x_0, y) -> False
append2(l1_2, l2_1) -> match_03(l1_2, l2_1, l1_2)
match_03(l1_2, l2_1, Nil) -> l2_1
match_03(l1_2, l2_1, Cons2(x, l)) -> Cons2(x, append2(l, l2_1))
part2(a_4, l_3) -> match_13(a_4, l_3, l_3)
match_13(a_4, l_3, Nil) -> Pair2(Nil, Nil)
match_13(a_4, l_3, Cons2(x, l')) -> match_25(x, l', a_4, l_3, part2(a_4, l'))
match_25(x, l', a_4, l_3, Pair2(l1, l2)) -> match_37(l1, l2, x, l', a_4, l_3, test2(a_4, x))
match_37(l1, l2, x, l', a_4, l_3, False) -> Pair2(Cons2(x, l1), l2)
match_37(l1, l2, x, l', a_4, l_3, True) -> Pair2(l1, Cons2(x, l2))
quick1(l_5) -> match_42(l_5, l_5)
match_42(l_5, Nil) -> Nil
match_42(l_5, Cons2(a, l')) -> match_54(a, l', l_5, part2(a, l'))
match_54(a, l', l_5, Pair2(l1, l2)) -> append2(quick1(l1), Cons2(a, quick1(l2)))